﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Goldlight.Mvvm.Base.Infrastructure
{
    /// <summary>
    /// Interface to the Kernel Transaction Manager COM interface. We do not have to implement this
    /// functionality because it is already available to us via COM.
    /// </summary>
    /// <remarks>
    /// Requires a minimum of Vista to run.
    /// </remarks>
    [ComImport]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("79427A2B-F895-40e0-BE79-B57DC82ED231")]
    public interface IKernelTx
    {
        void GetHandle([Out] out IntPtr handle);
    }
}
